home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / DragIconP.h.z / DragIconP.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  79 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /* $XConsortium: DragIconP.h /main/11 1995/07/14 10:25:42 drk $ */
  12. /* (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  13.  
  14. #ifndef _XmDragIconP_h
  15. #define _XmDragIconP_h
  16.  
  17. #include <Xm/VendorSEP.h>
  18. #include <Xm/DragIcon.h>
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. typedef void (*XmCloneVisualProc) (XmDragIconObject, Widget, Widget);
  26. typedef void (*XmMovePixmapProc)  (XmDragIconObject, 
  27.                    XmDragIconObject, 
  28.                    XmDragIconObject,
  29. #if NeedWidePrototypes
  30.                    int, int);
  31. #else
  32.                    Position, Position);
  33. #endif /* NeedWidePrototypes */
  34.  
  35. typedef struct {
  36.   XtPointer        extension;
  37.  
  38. #ifdef _SGIMOTIF
  39.     XtPointer _SG_vendorExtension;
  40. #endif    
  41. } XmDragIconClassPart;
  42.  
  43. typedef struct _XmDragIconClassRec{
  44.   RectObjClassPart        rectangle_class;
  45.   XmDragIconClassPart        dragIcon_class;
  46. } XmDragIconClassRec;
  47.  
  48. typedef struct {
  49.   Cardinal    depth;
  50.   Pixmap    pixmap;
  51.   Dimension    width, height;
  52.   Pixmap    mask;
  53.   Position    hot_x, hot_y;
  54.   Position    offset_x, offset_y;
  55.   unsigned char    attachment;
  56.   Boolean    isDirty;
  57.   Region        region;
  58.   Region        restore_region;
  59.   Position    x_offset, y_offset;
  60.  
  61. #ifdef _SGIMOTIF
  62.     XtPointer _SG_vendorExtension;
  63. #endif    
  64. } XmDragIconPart, *XmDragIconPartPtr;
  65.  
  66. externalref XmDragIconClassRec     xmDragIconClassRec;
  67.  
  68. typedef struct _XmDragIconRec{
  69.   ObjectPart        object;
  70.   RectObjPart        rectangle;
  71.   XmDragIconPart    drag;
  72. } XmDragIconRec;
  73.  
  74. #ifdef __cplusplus
  75. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  76. #endif
  77.  
  78. #endif /* _XmDragIconP_h */
  79.